package com.huirui.server.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.huirui.server.pojo.entity.Feedback;
import com.huirui.server.pojo.vo.FeedbackVo;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * @author yujun
 * @description 针对表【t_feedback(用户反馈表)】的数据库操作Mapper
 * @createDate 2025-09-20 10:25:11
 * @Entity com.huirui.server.pojo.entity.Feedback
 */
public interface FeedbackMapper extends BaseMapper<Feedback> {

    IPage<FeedbackVo> listFeedbackConditional(
            @Param("type") Integer type,
            @Param("status") Integer status,
            @Param("startTime") LocalDateTime startTime,
            @Param("endTime") LocalDateTime endTime,
            @Param("keyword") String keyword,
            @Param("iPage") IPage<FeedbackVo> iPage
    );
}




